var e = require;
var t = module;
var o = exports;
Object.defineProperty(o, "__esModule", {value: !0});
var n = (function () {
    function e() {
        (this.SW_SystemBanner = !1),
            (this.SW_SystemInters = !1),
            (this.SW_Video = !1),
            (this.SW_Native = !1),
            (this.SW_NativeBanner = !1),
            (this.SW_NativeInters = !1),
            (this.SW_Box = !1),
            (this.SW_Block = !1),
            (this.SW_BigNative = !1),
            (this.SW_IconNative = !1),
            (this.ID_SystemBanner = ""),
            (this.ID_SystemInters = ""),
            (this.ID_Native = ""),
            (this.ID_NativeCustom = ""),
            (this.ID_Video = ""),
            (this.ID_Box = ""),
            (this.ID_Block = ""),
            (this.NUM_NativeIntersP = 0),
            (this.NUM_NativeIntersReport = 1),
            (this.NUM_BannerErrP = 0),
            (this.NUM_BannerErrMost = 0),
            (this.NUM_BannerErrMust = 0),
            (this.NUM_VideoErrP = 0),
            (this.NUM_VideoErrMost = 0),
            (this.NUM_VideoErrMust = 0),
            (this.NUM_BannerUpdateTime = 30),
            (this.SW_SystemBannerFirst = !0),
            (this.NUM_BannerMostShow = 99),
            (this.SW_IntersBaseControl = !1),
            (this.NUM_IntersStart = 0),
            (this.NUM_IntersIntervalNum = 0),
            (this.NUM_IntersIntervalTime = 0),
            (this.NUM_IntersDelayTime = 0),
            (this.NUM_IntersDelayP = 0),
            (this.NUM_NativeUpdateTime = 30),
            (this.SW_AddDesktop = !1),
            (this.SW_IntersIntervalToAddDesktop = !1),
            (this.NUM_AutoAddDeskMostTimes = 0),
            (this.NUM_IntersToAddDesktopNumber = 0),
            (this.SW_Statistics = !0),
            (this.SW_NavigateIcon = !1),
            (this.SW_NavigateGroup = !1),
            (this.SW_NavigateSettle = !1),
            (this.pushGameList = []),
            (this.Video_canPlay = !1),
            (this.NUM_videoRemain = 0),
            (this.NUM_NowVideoPlay = 0),
            (this.miniGame_version = "101"),
            (this.app_test_version = !1);
    }
    return (
        (e.prototype.GameVersion = function (e) {
            this.app_test_version = this.miniGame_version == e;
        }),
        (e.prototype.getGameTestVersion = function () {
            return this.app_test_version;
        }),
        (e.prototype.createAd = function () {
            var e = this;
            window.h5api.canPlayAd(function (t) {
                console.log("XminigameSDK", "是否可播放视频广告", t.canPlayAd, "视频广告剩余次数", t.remain),
                    (e.Video_canPlay = t.canPlayAd),
                    (e.NUM_videoRemain = t.remain);
            });
        }),
        (e.prototype.startLoadPushGamaes = function () {}),
        (e.prototype.showBanner = function () {}),
        (e.prototype.hideBanner = function () {}),
        (e.prototype.getIntersFlag = function () {
            return !1;
        }),
        (e.prototype.showInters = function () {}),
        (e.prototype.getVideoFlag = function () {
            return (
                window.H5API.callPlayAd(function (e) {
                    console.log("是否可播放广告", e.canPlayAd, "剩余次数", e.remain);
                }),
                !0
            );
        }),
        (e.prototype.showVideo = function (e) {
            console.log("XminigameSDK", "m4399mini showVideo==========================="),
                window.h5api.playAd(function (t) {
                    console.log("XminigameSDK", "video res:", JSON.stringify(t)),
                        1e4 === t.code
                            ? console.log("XminigameSDK", "开始播放")
                            : 10001 === t.code
                            ? (console.log("XminigameSDK", "播放结束"), e(!0))
                            : (console.log("XminigameSDK", "广告异常"), e(!1));
                });
        }),
        (e.prototype.getNativeIconFlag = function () {
            return !1;
        }),
        (e.prototype.showNativeIcon = function () {}),
        (e.prototype.hideNativeIcon = function () {}),
        (e.prototype.getNativeImageFlag = function () {
            return !1;
        }),
        (e.prototype.showNativeImage = function () {}),
        (e.prototype.hideNativeImage = function () {}),
        (e.prototype.getNativeAdFlag = function () {
            return !1;
        }),
        (e.prototype.getNativeAdInfo = function () {
            return null;
        }),
        (e.prototype.reportNativeAdShow = function () {}),
        (e.prototype.reportNativeAdClick = function () {}),
        (e.prototype.getNavigateIconFlag = function () {
            return !1;
        }),
        (e.prototype.showNavigateIcon = function () {}),
        (e.prototype.hideNavigateIcon = function () {}),
        (e.prototype.getNavigateGroupFlag = function () {
            return !1;
        }),
        (e.prototype.showNavigateGroup = function () {}),
        (e.prototype.hideNavigateGroup = function () {}),
        (e.prototype.getNavigateSettleFlag = function () {
            return !1;
        }),
        (e.prototype.showNavigateSettle = function () {}),
        (e.prototype.hideNavigateSettle = function () {}),
        (e.prototype.getNavigateBoxBannerFlag = function () {
            return !1;
        }),
        (e.prototype.showNavigateBoxBanner = function () {}),
        (e.prototype.hideNavigateBoxBanner = function () {}),
        (e.prototype.getNavigateBoxPortalFlag = function () {
            return !1;
        }),
        (e.prototype.showNavigateBoxPortal = function () {}),
        (e.prototype.setGroup = function () {}),
        (e.prototype.hasAddDesktopFunc = function () {
            return !1;
        }),
        (e.prototype.getAddDesktopFlag = function (e) {
            e(!1);
        }),
        (e.prototype.addDesktop = function (e) {
            e(!1);
        }),
        (e.prototype.phoneVibrate = function () {}),
        (e.prototype.startGameVideo = function () {}),
        (e.prototype.pauseGameVideo = function () {}),
        (e.prototype.resumeGameVideo = function () {}),
        (e.prototype.stopGameVideo = function (e) {
            e(null);
        }),
        (e.prototype.shareVideo = function (e, t, o, n, a) {
            a(!1);
        }),
        (e.prototype.jumpToMoreGamesCenter = function () {}),
        (e.prototype.showMoreGamesBanner = function () {}),
        (e.prototype.hideMoreGamesBanner = function () {}),
        (e.prototype.showFavoriteGuide = function () {}),
        (e.prototype.getBoxFlag = function () {
            return !1;
        }),
        (e.prototype.showAppBox = function () {}),
        (e.prototype.getBlockFlag = function () {
            return !1;
        }),
        (e.prototype.showBlock = function () {}),
        (e.prototype.hideBlock = function () {}),
        (e.prototype.getVideoIntersFlag = function () {
            return !1;
        }),
        (e.prototype.showVideoInters = function () {}),
        (e.prototype.exitTheGame = function () {}),
        (e.prototype.reportAnalytics = function () {}),
        (e.prototype.showAuthentication = function (e) {
            e(!1);
        }),
        (e.prototype.visitorExperience = function (e) {
            e(!1);
        }),
        (e.prototype.showNativeAd = function () {}),
        (e.prototype.getOPPOShowMoreGameFlag = function () {
            return !1;
        }),
        (e.prototype.showOPPOMoreGame = function () {}),
        (e.prototype.hasNetwork = function (e) {
            e(!1);
        }),
        (e.prototype.showReviewAlert = function () {}),
        (e.prototype.showiOSADWithScene = function () {}),
        (e.prototype.showiOSADWithType = function () {}),
        (e.prototype.videoUIShow = function () {}),
        (e.prototype.showPrivacyAgreement = function (e, t, o) {
            o(!1);
        }),
        (e.prototype.getErrBannerFlag = function () {
            return !1;
        }),
        (e.prototype.showErrBanner = function (e) {
            e(!1);
        }),
        (e.prototype.hideErrBanner = function () {}),
        (e.prototype.getErrVideoFlag = function () {
            return !1;
        }),
        (e.prototype.buyProps = function (e, t, o, n) {
            n(!1, "");
        }),
        (e.prototype.payComplete = function () {}),
        e
    );
})();
o.default = n;
